#include "depot.h"
#include "generator.h"

void choose_S(void) {

	int choosen = rand()%2;
	switch(choosen) {
		case 0: //0
			add_word( 0 );
			++str_lgt;
			 return;
		
		case 1: //AA
			 choose_A();
			 choose_A();
			 return;
	}
}
void choose_A(void) {
	int choosen = rand()%2;
	switch(choosen) {
		case 0: //1
			add_word( 1 );
			++str_lgt;
			return;
		case 1: //S
			choose_S();
			return;
	}
}
